/*
 * Copyright 2016-2016 the original author or authors.
 * Created on 2016/12/23 下午3:32
 */
package cn.com.geasy.entity.system;

import cn.com.geasy.base.BaseEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统用户信息实体类
 *
 * @author Mechanic
 * @version 1.0
 */
@Entity
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Table(name = "sys_account")
public class SysAccount extends BaseEntity {
    private static final long serialVersionUID = 7120695563570572334L;
    /**
     * 登录账户
     */
    @Column(name = "account")
    private String account;
    /**
     * 登录密码
     */
    @Column(name = "password")
    private String password;
    /**
     * 姓名
     */
    @Column(name = "username")
    private String username;
    /**
     * 手机号
     */
    @Column(name = "mobile_number")
    private String mobileNumber;
    /**
     * 邮箱
     */
    @Column(name = "email")
    private String email;

    //public SysAccount() {
    //}
}
